/*
 * @Author: xcl
 * @Date: 2022-04-25 13:01:16
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2022-04-27 15:39:13
 * @Description: [头部注释]
 */
import mapImage from '@/assets/js/map/mapImagery.js'
class ArcGISImageryProvider extends Cesium.ArcGisMapServerImageryProvider {
  constructor(options = {}) {
    options['url'] = options.mapImage.url || mapImage['ArcGIS-经典地图'].url
    if (!options.subdomains || !options.subdomains.length) {
      options['subdomains'] = ['1', '2', '3']
    }
    super(options)
  }
}

export default ArcGISImageryProvider
